package com.boot.study.interceptor;

import com.boot.study.message.AbstractRedisMessage;

/**
 * @Author: lkz
 * @Title: RedisMessageInterceptor
 * @Description: TODO
 * @Date: 2023/11/2 10:58
 */

public interface RedisMessageInterceptor {

    default void sendMessageBefore(AbstractRedisMessage message) {
    }

    default void sendMessageAfter(AbstractRedisMessage message) {
    }

    default void consumeMessageBefore(AbstractRedisMessage message) {
    }

    default void consumeMessageAfter(AbstractRedisMessage message) {
    }

}
